/*
 *  Contact.h
 *  BugFix
 *
 *  Created by Dmitry Fadeev on 9/12/11.
 *  Copyright 2011 Arello Mobile. All rights reserved.
 *
 */

#pragma once

#include <physics/Types.h>

namespace physics
{
	class Node;
	
	struct Contact
	{
		Vector2   point;
		Vector2   normal;
		bool      touching;
		Node    * secondNode;
		
		Contact() : secondNode(NULL), touching(false)
		{
		}
		
		Contact(const Vector2 & point, const Vector2 & normal, bool touching, Node * secondNode) : point(point), normal(normal), touching(touching), secondNode(secondNode)
		{
		}
	};
}